package com.qijian.system.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;

/**
 * 组织对象 sys_organization
 *
 * @author qijian
 * @date 2022-02-21
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("sys_organization")
public class Organization extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @Excel(name = "名称")
    private String name;

    @Excel(name = "金蝶组织id")
    private String fId;

    @Excel(name = "金蝶组织全称")
    private String fName;

    @Excel(name = "编号")
    private String number;
    @Excel(name = "形态")
    @ApiModelProperty(value = "形态")
    private String fOrgForm;

    @Excel(name = "联系人名称")
    @ApiModelProperty(value = "联系人名称")
    private String contactName;

    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String phone;

    @Excel(name = "银行名称")
    @ApiModelProperty(value = "银行名称")
    private String bankName;

    @Excel(name = "银行账户")
    @ApiModelProperty(value = "银行账户")
    private String bankAccount;

    @Excel(name = "邮政编码")
    @ApiModelProperty(value = "邮政编码")
    private String postCode;

    @Excel(name = "法人")
    @ApiModelProperty(value = "法人")
    private String legalPerson;

    @Excel(name = "公司地址")
    @ApiModelProperty(value = "公司地址")
    private String companyAddress;

    @Excel(name = "OA公司ID")
    private String oaCompanyId;

    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    private String remark;
}